package com.leyou.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "ly.worker")
public class IdWorkerProperties {

    /**
     * 当前机器id
     */
    //@Value("${leyou.worker.workerId}")
    private long workerId;

    /**
     * 序列号
     */
    //@Value("${leyou.worker.dataCenterId}")
    private long dataCenterId;


}